package cn.wolfcode.luowowo.flight.domain;

import cn.wolfcode.luowowo.common.domain.BaseDomain;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

@Setter
@Getter
public class FlightTicket extends BaseDomain {

    public static final Integer STATE_PAY = 1; //支付
    public static final Integer STATE_NOPAY = 0; //没有支付

    private Long userinfoId;//用户id
    private String identity;//身份证号
    private Long flightId;//飞机id
    private Flight flight;
    private String name;//名字
    private String phone;//电话
    private Integer pay = STATE_NOPAY;//默认没有支付
    //private List<Flight> flights = new ArrayList<>();
}
